package com.lbn.jfqsc.app.account.resume;

import android.content.Context;

import com.lbn.baseframe.mvp.BasePresenter;
import com.lbn.baseframe.utils.EasyToast;
import com.lbn.baseframe.utils.NetUtil;

/**
 * @author 李炳南
 * @date 2017/3/1
 */
public class ResumePresenter extends BasePresenter<IResume> {


    public void save(Context context){

        if (NetUtil.isNetworkAvalible(context)) {
            EasyToast.showShort(context, "保存成功");
            getView().onSucceed();
        } else {
            EasyToast.showShort(context, "网络异常");
        }
    }

}
